package com.chinasoft.service;

import com.chinasoft.pojo.PageItem;
import com.chinasoft.pojo.TeacherCount;
import com.chinasoft.pojo.TeacherList;
import com.chinasoft.pojo.Userlist;

import java.util.List;

public interface TeacherService {
    List<TeacherList> findAll();
    TeacherList getById(Integer id);
    List<TeacherList> getBy(TeacherList list);
    List<TeacherList> getfind(TeacherList list);
    List<TeacherList> getByClass(String classtype);
    PageItem<TeacherList> getByState(String state,Integer current,Integer size);
    List<TeacherList> getByTeacher(String teachername);
    List<TeacherList> getByTeacherAll(String teachername);
    boolean updateSoild(Integer id, String soild);
    boolean updateState(Integer id, String state);
    List<TeacherCount> findgetNum();
    List<TeacherCount> find();
    boolean addlist(TeacherList userlist);
    PageItem<TeacherList> find1(Integer current,Integer size);
    Boolean deleteById(Integer id);
    Boolean delete1(Integer id,String classtype);
    boolean update(TeacherList teacherList);
    boolean getTime(String teachername,String classtype,String time);
}
